package yf.mall.service;


import java.math.BigDecimal;
import java.util.Date;

public interface NoticeService {

    /***************公共通知部分*******/

    //短信发送验证码
    String sendCaptcha(String mobile);


    /**********商城微信通知部分***********/

    //账户变动通知
    void sendAccount(String openId, String amount, BigDecimal nowAmount, String type, String info);

    //入库通知
    void sendOrderIn(String openId, String name, String detail);

    //出库通知
    void sendOrderOut(String openId, String name, String detail);

    //新订单通知
    void sendNewOrder(String openId, String orderNo, String detail);

    //用户注册通知
    void sendUserIn(String openId, String userName, String mobile);

    //用户下单成功通知
    void sendOrderDone(String openId, String name, String detail, String payWay, BigDecimal amount);

    //订单发货通知
    void sendOrderLog(String openId, String orderNo, String name, String company, String logNo, String address);

    //公益通知
    void noticeWelFare(String openId, String name, BigDecimal amount);
    //问题通知
    void noticeQuestion(String openId,String question);
    //问题未通过通知
    void noticeQuestionExa(String openId,String cause,String time,String question);
    //问题未通过通知
    void noticeAnswerExa(String openId,String cause,String time,String answer);
    /**********定制开课通知部分***********/

    //微信给用户发送课程
    void sendConfirmCourse(String openId, String courseName, String courseInfo);


    //短信发送课程给用户
    void sendCourseToAdmin(String phone, String name, Integer number);


    void sendGoodsDown(String userEntityMobile, String name);

    void sendShopNoPass(String phone, String name, String shop);

    void sendShopPass(String phone, String name, String shop);

    void sendOpenShop(String phone, String name);

    void sendApplyCash(String openId, String toString, Date crateTime, String 商城提现, String s);

    void sendApplyCashStatus(String openId, String toString, Date crateTime, Date passTime, String 普通提现, String 审核通过, String s);
}
